<?php
/**
 * Created by PhpStorm.
 * User: 68008000
 * Date: 2017/11/21
 * Time: 10:11
 */

namespace app\admin\validate;


use think\Validate;

/**
 * Class Typeadd
 * @package app\admin\validate
 * 类型添加验证器
 */
class Type extends Validate
{
    protected $rule = [
        'tname'  =>  'require',

    ];
    protected $message = [
        'tname.require'=>'请输入类型名称',

    ];

}